package com.bracketbird.client.service;

import com.bracketbird.client.model.keys.*;
import com.bracketbird.clientcore.model.keys.*;
import com.bracketbird.clientcore.service.*;

/**
 *
 */
public class GetSingleAppInfoAction extends AbstractAction  implements Action<ListResult>{
    private static final long serialVersionUID = -6889708966356974734L;

    private TournamentId tournamentId;
    private ClubId clubId;
    private UserId userId;
    private Boolean fetchMembers;

    public GetSingleAppInfoAction() {
    }


    public GetSingleAppInfoAction(UserId userId, TournamentId tournamentId, ClubId clubId, Boolean fetchMembers) {
        this.userId = userId;
        this.tournamentId = tournamentId;
        this.clubId = clubId;
        this.fetchMembers = fetchMembers;
    }


    public TournamentId getTournamentId() {
        return tournamentId;
    }

    public void setTournamentId(TournamentId tournamentId) {
        this.tournamentId = tournamentId;
    }

    public ClubId getClubId() {
        return clubId;
    }

    public void setClubId(ClubId clubId) {
        this.clubId = clubId;
    }

    public Boolean isFetchMembers() {
        return fetchMembers;
    }

    public void setFetchMembers(Boolean fetchMembers) {
        this.fetchMembers = fetchMembers;
    }

    public UserId getUserId() {
        return userId;
    }

    public void setUserId(UserId userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "GetSingleAppInfoAction{" +
                "tournamentId=" + tournamentId +
                ", clubId=" + clubId +
                ", userId=" + userId +
                ", fetchMembers=" + fetchMembers +
                '}';
    }
}